{extend name="main/index" /}
{block name="main"}

<div class="content-page">
	<div class="content">
		<div class="form-group">
			<label for="exampleInputText1">商家名称</label>
			<input type="text" class="form-control" id="exampleInputEmail1" name="name" required value="{$data.name}">
		</div>
		<div class="form-group">
			<label for="exampleInputText1">地址</label>
			<input type="text" class="form-control" id="exampleInputEmail1" name="address" value="{$data.address}">
		</div>
		<div class="form-group">
			<label for="exampleInputText1">电话</label>
			<input type="text" class="form-control" id="exampleInputEmail1" name="tel" value="{$data.tel}">
		</div>
		<div class="form-group">
			<input type="radio" name="isbreaker" value="1" {if $data.isbreaker==1} checked {/if}>不提供早餐
			<input type="radio" name="isbreaker" value="2" {if $data.isbreaker==2} checked {/if}>提供早餐
		</div>
		<div class="form-group">
			<input type="radio" name="wifi" value="1" {if $data.wifi==1} checked {/if}>无WiFi
			<input type="radio" name="wifi" value="2" {if $data.wifi==2} checked {/if}>有WiFi
		</div>
		<div class="form-group">
			<input type="radio" name="parking" value="1" {if $data.parking==1} checked {/if}>无停车场
			<input type="radio" name="parking" value="2" {if $data.parking==2} checked {/if}>有停车场
		</div>
		<div class="form-group">
			<label for="exampleInputText1">最低价格</label>
			<input type="text" class="form-control" id="exampleInputEmail1" name="price" value="{$data.price}">
		</div>
		<div class="form-group">
			<label for="exampleInputText1">简述</label>
			<textarea class="form-control" rows="10">{$data.information}</textarea>
		</div>
	</div>
</div>

{/block}